/*
 *  $Id: Deluge.cs 1051 2010-05-18 22:10:41Z thenn.erannor $
 *	This file is a part of Ragima CCG.
 *	(C) 2008 Ragima development group.
 *
 *	Licensed under the terms of the GNU GPL License version 2.
 *
 */

namespace Ragima.Cards001.Water.Spells {
    public class Deluge: SelfEnchantmentCard {
        public Deluge(): base("001_w_s_deluge") {
            Level = CompleteLevel.Final;
            Element = ElementType.Water;
            Value = 100;
            AddManaCost(ElementType.Water, 2);
        }

        protected override EnchantmentAffect CreateEnchantment() {
            return new DelugeAffect();
        }

        private class DelugeAffect: EnchantmentAffect<Deluge> {
            public DelugeAffect() {
                Add(new TimeAffect(8, new Affects.DelugeAura()));
            }

            public override bool Dispellable {
                get { return false; }
            }
        }
    }
}
